<?php
$loginname = $_POST['loginname'];
$password = $_POST['password'];

if ($member->login($loginname, $password)) {
	$rst = array (
		'success_text' => '_("登入成功")'
	);
}else{
	$rst = array (
		'success_text' => '_("登入失敗")'
	);
}
echo json_encode($rst);
?>